import Vue from "vue";
import Vant from "vant";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import "vant/lib/index.css";
import "lib-flexible";
import axios from "axios"; //引入axios
import BaiduMap from 'vue-baidu-map';

Vue.use(Vant);

Vue.prototype.$axios = axios; //添加axios到Vue的原型对象上

Vue.config.productionTip = false;

Vue.use(BaiduMap,{
  ak:"wG6S36Gjkv503r52jUoFzX1ElAeZIcG1"
});

new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount("#app");
